home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Le Modelle Di Malibu
/
Le Modelle Di Malibu.iso
/
AMM.INF
< prev
next >
Wrap
Text File
|
1992-02-25
|
4KB
|
110 lines
;;**************************************************
;; Install of the software for dos/win
;;**************************************************
DefineVariables
Text [LogoBitMap] := mdaddy.bmp
Text [CompanyName] := MacDaddy Entertainment
Text [ProductName] := Malibu Models
Text [ProductName5] := Install QuickTime
Text [ProductName3] := Uninstall QuickTime
Text [ReadCmdLine]
Text [IconFile] := malibu.ico
Text [IconFile3] := unqt.ico
Text [IconFile5] := suqt.ico
Text [IconPath]
Text [IconPath2]
Text [IconPath3]
Text [IconPath4]
Text [IconPath5]
Text [ReadPath]
Text [ProgFile] := malibu.exe
Text [ProgPath]
Text [CDDr]
EndDefineVariables
;; Setup logo and screen
SetDefaultBitmap off
LoadBitMap 1 [LogoBitMap]
ShowBitMap 1 @xy(5,5)
SetBackgroundColor 0 0 64 191 64 0
ShowWindow Maximized
Dialog
Wait one moment please for the [ProductName] installation...
EndDialog
;;************************************************
;; this is where we setup the directory for the
;; installation of the software. We install into the
;; bootdrive:\Qtime directory. This is hard coded
;; and must be named this for the Windows application
;; to read properly.
;;************************************************
;;[InstallationDirectory] := [BootDrive]:\QTW
;;CreateDirectoryIfNecessary [InstallationDirectory]
;;QueAllFiles
;;GetQuedFiles
;;**************************************************
;;Find the files for the program and icons
;;**************************************************
[IconPath] := FullPathTo [IconFile] Search AllFixed
[IconPath3] := FullPathTo [IconFile3] Search AllFixed
[IconPath5] := FullPathTo [IconFile5] Search AllFixed
[IconPath4] := FullPathTo [IconFile4] Search AllFixed
[ProgPath] := FullPathTo [ProgFile] Search AllFixed
[CDDr] := SubstringOf [IconPath] from 1 to 1
[ReadPath] := FullPathTo [ReadFile] Search AllFixed
[ReadCmdLine] := write.exe [ReadPath]
;;**************************************************
;; Create the windows program group.
;;**************************************************
ProgramManagerDDe
CreateGroup([CompanyName])
ReplaceItem([CompanyName])
AddItem([ProgPath],[ProductName],[IconPath])
AddItem([CDDr]:\QTW\SETUP.EXE,[ProductName5],[IconPath5])
AddItem([CDDr]:\QTW\BIN\UNSTLQT.EXE,[ProductName3],[IconPath3])
EndProgramManagerDDE
;;**************************************************
;; Here is where we modify the Autoexec file for the
;; file paths
;;**************************************************
ModifyAutoExecBat
AddPathComponent [BootDrive]:\QTW at beginning
EndModifyAutoExecBat
;; Exit dialog box and messages
Dialog
[ProductName] installation is complete.
EndDialog
Procedure DDENonFatalErrorTrap
;; Purpose of DDENonFatalErrorTrap:
;; If a procedure with this name is present in the script and a non-fatal
;; Program Manager DDE error occurs, then this procedure will be executed.
;;
;; Possible Text Error Codes Are:
;; ddeExec%s failed (NOTE: the "%s" is replaced by error types)
;; ddeInitiate failed
;; pmAddItem failed
;; pmClose failed
;; pmCreateGroup failed
;;
;; To trap a DDENonFatalError and respond to it, use the following code
;; [Number1] := PositionOf "PMAddItem" in DDENonFatalError
;; If [Number1] > 0
;; Dialog
;; NonFatal error in AddItem occurred
;; Error Text : DDENonFatalError
;; EndDialog
EndProcedure
EndScript